package com.pengxun.mall.service;

import  com.pengxun.mall.dto.GoodsDTO;
import  com.pengxun.mall.dto.GoodsSearchDTO;
import  com.pengxun.mall.vo.GoodsVO;
import java.util.List;
import com.szeastroc.common.jdbc.page.Page;



public interface  GoodsService {

   public int insert(GoodsDTO goodsDTO);
   
   public int batchInsert(List<GoodsDTO> goodsDTO);
   
   public int update(GoodsDTO goodsDTO);
   
   public int delete(Integer id);
   
   public List<GoodsVO> findAll();
   
   public GoodsVO findById(Integer id);
   
   public Page findByPage(GoodsSearchDTO goodsSearchDTO);
   
}
